package com.nulldev.util.net.experimental.groupedudp;

import com.nulldev.util.net.experimental.groupedudp.client.GroupUser;

public class StoredMessage {
	/**Content*/
    public final String message;
    /**Sender name*/
    public final GroupUser sender;
    /**Private message?*/
    public final boolean isMulticast;
    
    /**
     * 
     * @param message Content
     * @param sender source of this message 
     * @param isMulticast true, if message was sent to more users
     */
    public StoredMessage(final String message, final GroupUser sender, final boolean isMulticast){
        this.message = message;
        this.sender = sender;
        this.isMulticast = isMulticast;
    }
}
